//测试类
public class TestUSB {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.Open();
        //使用鼠标
        computer.usbDevice(new Mouse());
        //使用键盘
        computer.usbDevice(new Keyboard());
        computer.Close();
    }

}
